import type { DescriptionsProps } from 'antd';
import { Descriptions } from 'antd';
import React from 'react';

interface DescriptionsInfoProps {
  title: string;
  info: DescriptionsProps['items'];
}

const App: React.FC<DescriptionsInfoProps> = ({ title, info }) => {
  return (
    <Descriptions
      title={title}
      bordered
      column={{ xs: 1, sm: 2, md: 3, lg: 3, xl: 4, xxl: 4 }}
      items={info}
    />
  );
};

export default App; 
